* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	14:27:02 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	14:27:02 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	14:27:02 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	14:27:02 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	14:27:02 	lx 	(1. Application process)

  database connect time: 0.0008 seconds. 	3.1.2022 	14:27:03 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	14:27:03 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	14:27:03 	lx 	(1. Application process)

* preference 'system/nc_server_start.json', organization '0' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	14:27:03 	lx 	(1. Application process)

error: preference 'system/nc_server_start.json' was not found
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:553: in function 'printError'
	/Users/pasi/nc/nc-server/lib/db/dprf.lua:466: in function 'preferenceFromJson'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:44: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:27>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	3.1.2022 	14:27:03 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	3.1.2022 	14:27:03 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

  database connect time: 0.0002 seconds. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0117073c50, size: 400. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

All plugins have been loaded. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/,  http://10.211.55.2:5949/,  http://10.37.129.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/, https://10.211.55.2:5949/, https://10.37.129.2:5949/. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949, 10.211.55.2:5949, 10.37.129.2:5949/. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

--- server started in 0.0044 seconds, 2022-01-03 14:27:04, used memory 3101.8 kb --- 	 5. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	3.1.2022 	14:27:04 	lx 	(5. palvelin)

Can't use preference in table prf_. 	3.1.2022 	14:34:05 	_prf_ Data_OLD 	(6. tbl_ 7)

Can't use preference in table prf_. 	3.1.2022 	14:34:05 	_prf_ Data_OLD 	(6. tbl_ 7)

Can't use preference in table prf_. 	3.1.2022 	14:34:05 	_prf_ Data_OLD 	(6. tbl_ 7)

*** tcp close for sock 72, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	3.1.2022 	14:46:30 	lx 	(5. palvelin)

closing socket '72'. 	3.1.2022 	14:46:30 	lx 	(5. palvelin)

*** tcp close for sock 73, type 'nil', protocol 'nil', reason: '', request length: (no request) bytes ***. 	3.1.2022 	14:46:30 	lx 	(5. palvelin)

closing socket '73'. 	3.1.2022 	14:46:30 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            52456
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  2/2
totalBytesReceived:   0
totalBytesSent:       0. 	3.1.2022 	14:46:30 	lx 	(5. palvelin)

--- server stopped ---. 	3.1.2022 	14:46:30 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x0117073c50. 	3.1.2022 	14:46:30 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

  database connect time: 0.0002 seconds. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

* preference 'system/nc_server_start.json', organization '0' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

error: preference 'system/nc_server_start.json' was not found
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:553: in function 'printError'
	/Users/pasi/nc/nc-server/lib/db/dprf.lua:466: in function 'preferenceFromJson'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:44: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:27>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	3.1.2022 	14:47:34 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	3.1.2022 	14:47:34 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

  database connect time: 0.0002 seconds. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0129d9d190, size: 400. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

All plugins have been loaded. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - system/option.json. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/,  http://10.211.55.2:5949/,  http://10.37.129.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/, https://10.211.55.2:5949/, https://10.37.129.2:5949/. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949, 10.211.55.2:5949, 10.37.129.2:5949/. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

--- server started in 0.0014 seconds, 2022-01-03 14:47:35, used memory 3010.8 kb --- 	 5. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	3.1.2022 	14:47:35 	lx 	(5. palvelin)

Can't use preference in table prf_. 	3.1.2022 	14:49:02 	_prf_ Data_OLD 	(6. tbl_ 7)

Can't use preference in table prf_. 	3.1.2022 	14:49:02 	_prf_ Data_OLD 	(6. tbl_ 7)

Can't use preference in table prf_. 	3.1.2022 	14:49:02 	_prf_ Data_OLD 	(6. tbl_ 7)

Can't use preference in table prf_. 	3.1.2022 	14:49:26 	_prf_ Data_OLD 	(6. tbl_ 7)

Can't use preference in table prf_. 	3.1.2022 	14:49:26 	_prf_ Data_OLD 	(6. tbl_ 7)

Can't use preference in table prf_. 	3.1.2022 	14:49:26 	_prf_ Data_OLD 	(6. tbl_ 7)

Taululle ei ole ladattu tietuetta: Myyntitilauksen rivi ([Myyntitilauksen rivi]Tuote). 	3.1.2022 	14:49:40 	_fld VALUE 	(6. tbl_ 7)

Taululle ei ole ladattu tietuetta: Myyntitilauksen rivi ([Myyntitilauksen rivi]Tuote). 	3.1.2022 	14:50:16 	_fld VALUE 	(6. tbl_ 7)

Taulukkoa ei löydy sarakemäärrittelyn asetuksesta: _dlg_ldwp_lplgWorkEvent (wpa_asUser). 	3.1.2022 	14:52:22 	_alp_COLUMNS_GET 	(12. Työpiste)

Aluetta ei löytynyt: 268435457. 	3.1.2022 	17:02:04 	_alp Row 	(12. Työpiste)

Aluetta ei löytynyt: 268435457. 	3.1.2022 	17:02:04 	_alp SEL_GET 	(12. Työpiste)

Aluetta ei löytynyt: 268435457. 	3.1.2022 	17:02:04 	_alp Row 	(12. Työpiste)

Aluetta ei löytynyt: 268435458. 	3.1.2022 	17:02:04 	_alp Row 	(12. Työpiste)

Aluetta ei löytynyt: 268435459. 	3.1.2022 	17:02:04 	_alp Row 	(12. Työpiste)

Aluetta ei löytynyt: 268435459. 	3.1.2022 	17:02:04 	_alp Row 	(12. Työpiste)

Aluetta ei löytynyt: 268435460. 	3.1.2022 	17:02:04 	_alp Row 	(12. Työpiste)

SR_ConvertReportToXML error: -8000, report Työmääräin_Manage. 	3.1.2022 	17:09:37 	_rep_SRProToXml 	(14. tbl_ 14)

SR_LoadReport error: -2, report Työmääräin_Manage. 	3.1.2022 	17:09:37 	_rep_SRPRO_AREA_SET 	(14. tbl_ 14)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

  database connect time: 0.0049 seconds. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

* preference 'system/nc_server_start.json', organization '0' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

error: preference 'system/nc_server_start.json' was not found
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:553: in function 'printError'
	/Users/pasi/nc/nc-server/lib/db/dprf.lua:466: in function 'preferenceFromJson'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:44: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:27>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	3.1.2022 	18:03:51 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	3.1.2022 	18:03:51 	_lx_SERVER 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

  database connect time: 0.0003 seconds. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x029fd9f350, size: 400. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

2. Loading plugin: nc/worker/query_worker. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

All plugins have been loaded. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* cached preference files: demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - system/4d.json. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

Mac address: f84d896921dc. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

closing socket '94'. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:553: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:811: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:139: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:150: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:135>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

***  there is another instance of this program or some other program using the port 5949  ***  . 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

error: server has not been started - quit-lx-server. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:553: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:811: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:139: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:150: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:135>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]. 	3.1.2022 	18:03:53 	_lx_SERVER 	(4. palvelin)

error: server has not been started - quit-lx-server. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

error: server has not been started - quit-lx-server. 	3.1.2022 	18:03:53 	_lx_SERVER 	(4. palvelin)

warning: -*-ERR: close socket is nil
. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

warning: -*-ERR: close socket is nil
. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            0
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  0/0
totalBytesReceived:   0
totalBytesSent:       0. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

--- server stopped ---. 	3.1.2022 	18:03:53 	lx 	(4. palvelin)

finalizer: free p1 	 cdata<void *>: 0x029fd9f350. 	3.1.2022 	18:03:54 	lx 	(4. palvelin)

Tcp palvelin 2 sammutettu. 	3.1.2022 	18:03:54 	_lx_SERVER 	(4. palvelin)

Tcp palvelin 2 ei ole käynnissä. 	3.1.2022 	18:04:05 	_lx_SERVER 	(4. tbl_ 5)

Käynnisteään Tcp palvelin 2. 	3.1.2022 	18:04:09 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

  database connect time: 0.0003 seconds. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x011dfd3760, size: 400. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

All plugins have been loaded. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - system/option.json, demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/4d.json. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

closing socket '95'. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:553: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:811: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:139: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:150: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:135>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

***  there is another instance of this program or some other program using the port 5949  ***  . 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

error: server has not been started - quit-lx-server. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

error:    SOCKET ERROR: listen_socket:bind for port 5949 failed with error: (-1) Unknown error: -1
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:553: in function 'printError'
	/Users/pasi/nc/nc-server/lib/net_socket.lua:195: in function 'cleanup'
	/Users/pasi/nc/nc-server/lib/lib_tcp.lua:811: in function 'listen'
	/Users/pasi/nc/nc-server/lib/server.lua:460: in function 'serverRun'
	/Users/pasi/nc/nc-server/nc/nc-server.lua:139: in function 'server'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:150: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:135>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]. 	3.1.2022 	18:04:11 	_lx_SERVER 	(5. palvelin)

error: server has not been started - quit-lx-server. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

error: server has not been started - quit-lx-server. 	3.1.2022 	18:04:11 	_lx_SERVER 	(5. palvelin)

warning: -*-ERR: close socket is nil
. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

warning: -*-ERR: close socket is nil
. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

 -- Server statistics --
answerCount:          0
poll.fd_count:        0
pollCount:            0
pollInCount:          0
pollOutCount:         0
pollCloseCount:       0
pollErrCount:         0
fd add/remove count:  0/0
totalBytesReceived:   0
totalBytesSent:       0. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

--- server stopped ---. 	3.1.2022 	18:04:11 	lx 	(5. palvelin)

finalizer: free p1 	 cdata<void *>: 0x011dfd3760. 	3.1.2022 	18:04:13 	lx 	(5. palvelin)

Tcp palvelin 2 sammutettu. 	3.1.2022 	18:04:13 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

  database connect time: 0.0007 seconds. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

* preference 'system/nc_server_start.json', organization '0' was loaded from database 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

error: preference 'system/nc_server_start.json' was not found
  [stack traceback:
	/Users/pasi/nc/nc-server/lib/util.lua:553: in function 'printError'
	/Users/pasi/nc/nc-server/lib/db/dprf.lua:466: in function 'preferenceFromJson'
	/Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:44: in function </Users/pasi/nc/nc-server/manager/4d/nc_server_4d.lua:27>
	[C]: in function 'pcall'
	/Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:70: in function </Users/pasi/nc/nc-server/manager/4d/run_from_4d.lua:19>]
. 	3.1.2022 	18:04:52 	lx 	(1. Application process)

Käynnisteään Tcp palvelin 2. 	3.1.2022 	18:04:52 	_lx_SERVER 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/table/db_connection_preference.json'. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/auth/connection.json'. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

    Connected to: 'postgre local socket, /tmp, database: fi_demo, user: manage_demo'. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

  database connect time: 0.0002 seconds. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* connect: connection changed to 'postgre-demo/fi_demo'. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* paths:
 - main: '/Users/pasi/nc/nc-server/'
 - bin : '/Users/pasi/4D/mg_v19/Manageri_v19/Resources/bin/bin_osx_arm64/'
 - pref: '/Users/pasi/nc/nc-server/preference/'
 - 4D  : '/Users/pasi/4D/mg_v19/Manageri_v19/'
. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/preference/table/prf/group.json'. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

poll.expand_fds: 50, old fds: nil, new fds: cdata<struct pollfd *>: 0x0117c275f0, size: 400. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

********************* /Users/pasi/nc/nc-server/ *********************. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

port: 5949, arguments: '[
	5949
]', nc-server.json: '[]'. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

nc_server: debugLevel(0):0  port(5959):5949  closeConnection(0):0. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

1. Loading plugin: nc/worker/auth_worker. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

2. Loading plugin: nc/worker/query_worker. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

3. Loading plugin: nc/worker/query4d_worker. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

4. Loading plugin: nc/worker/call4d_worker. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

All plugins have been loaded. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* cached preference files: demo-fi_demo-0 - table/prf/field_type.json, demo-fi_demo-0 - system/4d.json, demo-fi_demo-0 - system/option.json. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* run in command line: 'ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}''. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

* run in command line: 'LC_ALL=C ifconfig en0 | awk '/ether/{print $2}''. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

Mac address: f84d896921dc. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

TLS certificate files: /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/cert.pem, /Users/pasi/4D/mg_v19/Manageri_v19/Resources/Lua/preference/cert/privkey.pem. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

NC tcp server waiting on:  http://127.0.0.1:5949/,  http://192.168.32.2:5949/,  http://10.211.55.2:5949/,  http://10.37.129.2:5949/
                          https://127.0.0.1:5949/, https://192.168.32.2:5949/, https://10.211.55.2:5949/, https://10.37.129.2:5949/. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

NC udp server waiting on: 127.0.0.1:5949/, 192.168.32.2:5949, 10.211.55.2:5949, 10.37.129.2:5949/. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

--- server started in 0.0020 seconds, 2022-01-03 18:04:54, used memory 3109.6 kb --- 	 5. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

OSX arm64, using: rapidjson-arm, lfs-ffi. 	3.1.2022 	18:04:54 	lx 	(5. palvelin)

1. uri: HTTP, POST '/rest/nc/query/sql4d' 2022-01-03 20:48:15
'POST /rest/nc/query/sql4d HTTP/1.1
Content-Type: application/json
Connection: keep-alive
User-Agent: nc-rest-sql
Authorization: Basic ???
Content-Encoding: lz4
Accept-Encoding: lz4
Content-Length: 501
Content-Uncompressed-Length: 584

LZ4. 	3.1.2022 	20:48:16 	lx 	(5. palvelin)

* load upper level nc-preference file: '/Users/pasi/nc/nc-server/../nc-preference/.nc-env.json'. 	3.1.2022 	20:48:17 	lx 	(5. palvelin)

    Connected to: 'Manageri v12 plg4d local, , database: plg4d, user: manage_demo'. 	3.1.2022 	20:48:17 	lx 	(5. palvelin)

  database connect time: 0.0002 seconds. 	3.1.2022 	20:48:17 	lx 	(5. palvelin)

* connect: connection changed from 'postgre-demo/fi_demo' to 'plg4d/plg4d'. 	3.1.2022 	20:48:17 	lx 	(5. palvelin)

 1. answer time: 00:00:00.09602
  
SELECT name_id, text_value FROM _preference WHERE name_id = '_tab_co.json' OR name_id = '_tab_default.json'. 	3.1.2022 	20:48:19 	lx 	(5. palvelin)

 -- tcp answer 3, send count: 4, loop count: 3, bytes sent 310308 / -32578 remaining, total send time 49 µs. 	3.1.2022 	20:48:21 	lx 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:48:25 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:48:25 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:48:25 	_lx_ExecuteSqlNew 	(5. palvelin)

 -- tcp answer 7, send result: -1, send count: 1, loop count: 1, bytes sent 81660 / 51153 remaining, total send time 85 µs. 	3.1.2022 	20:48:26 	lx 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:49:00 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:49:00 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:49:00 	_lx_ExecuteSqlNew 	(5. palvelin)

 -- tcp answer 10, send result: -1, send count: 1, loop count: 1, bytes sent 81660 / 47072 remaining, total send time 12 µs. 	3.1.2022 	20:49:01 	lx 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:49:28 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:49:29 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:50:18 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:50:20 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	20:50:20 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	21:18:09 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	21:18:11 	_lx_ExecuteSqlNew 	(5. palvelin)

4D: SELECT inv.record_id FROM invoice inv WHERE inv.invoice_id <> '' INTO :_lx_atExe1
 - original query: SELECT inv.invoice_id, inv.customer_project, inv.state, inv.our_reference, inv.company_id, inv.date_, inv.price_total, inv.vat_total, inv.currency_id, inv.terms_of_payment_id, inv.your_reference, inv.invoice_text, inv.record_id FROM invoice inv  WHERE inv.invoice_id <> ''  ORDER BY inv.invoice_id  INTO :_lx_atExe1,:_lx_atExe2,:_lx_alExe1,:_lx_atExe3,:_lx_atExe4,:_lx_adExe1,:_lx_arExe1,:_lx_arExe2,:_lx_atExe5,:_lx_atExe6,:_lx_atExe7,:_lx_atExe8,:_lx_atExe9
 - result _lx_atExe1 size: 2480, first value: '000001'
 - query name: new:form/nc/erp-sync/query/order-invoice.json. 	3.1.2022 	21:18:12 	_lx_ExecuteSqlNew 	(5. palvelin)

 -- tcp answer 18, send result: -1, send count: 1, loop count: 1, bytes sent 81660 / 48444 remaining, total send time 3 µs. 	3.1.2022 	21:18:12 	lx 	(5. palvelin)

Myyntirivin päiväys on liian pieni: 00.00.0000, T140039/02, KOUL. 	3.1.2022 	21:23:55 	prnc_SaldoSorArrFill 	(9. Tuotetilannelaskenta)

Myyntirivin päiväys on liian pieni: 00.00.0000, T140042/04, KOUL. 	3.1.2022 	21:23:55 	prnc_SaldoSorArrFill 	(9. Tuotetilannelaskenta)

